public class ArrayDetail {
	public static void main(String[] args){
		//int[] arr1 = {1,2,3,4,5,"hello"};//error String->int
		double[] arr2 = {1,2,3.3,2.3,1};//ok int->double


		String[] str3 = {"asda","adas","asda"};

		//数组创建后，如果没有赋值，有默认值
		short[] arr4 = new short[3];
		for(int i = 0; i < arr4.length; i++){
			System.out.print(arr4[i] + "\t");
		}

		int[] arr5 = new int[5];
		//arr5[5];//越界 范围0-4

		
	}
}